package com.wwe.kotlinstudy.example16

open class Outer {

    private val a = 1 //类文件私有
    protected open val b = 2 //子类可以访问
    internal val c = 3 //系统模块可以访问
    val d = 4  // 默认 public

    //类内部声明的类
    protected class Nested {
        public val e: Int = 5
    }

}